﻿#region Using Directives

using System;

#endregion Using Directives


namespace Kongo.Filters
{
    internal static class ApNumberFilter
    {
        #region Methods

        public static object Handler(object value, string arg)
        {
            /*
            if ((value is int) || (value is string))
            {
                // This is simple enough to just treat
                // everything like a string.
                string str = value.ToString();
                if (str.Length == 1)
                {
                    switch (str[0])
                    {
                        case '1':
                            return "one";
                        case '2':
                            return "two";
                        case '3':
                            return "three";
                        case '4':
                            return "four";
                        case '5':
                            return "five";
                        case '6':
                            return "six";
                        case '7':
                            return "seven";
                        case '8':
                            return "eight";
                        case '9':
                            return "nine";
                    }
                }

                return str;
            }
            */

            return value ?? String.Empty;
        }

        #endregion Methods
    }
}